package cc.wsyw126.java.lambda.java8lambda.exercise;

import cc.wsyw126.java.lambda.java8lambda.data.SampleData;
import org.junit.Test;

/**������ֵ�ͼ�����ֵ
 * @author Liyanjun
 *
 */
public class IterationTest {

    @Test
    public void lazyPrintOuts() {
        Iteration iteration = new Iteration();
        iteration.filterArtistsFromLondonPrinted(SampleData.membersOfTheBeatles);
    }

    @Test
    public void evaluatedPrintOuts() {
        Iteration iteration = new Iteration();
        iteration.internalCountArtistsFromLondonPrinted(SampleData.membersOfTheBeatles);
    }
}
